package com.daiziru.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.daiziru.VO.CommentVO;
import com.daiziru.entity.MComment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuyan
 * @since 2022-12-07
 */
public interface MCommentService extends IService<MComment> {

    /**
     * 分页查询贴子的评论信息
     * @param page
     * @param postId
     * @param userId
     * @param order
     * @return
     */
    IPage<CommentVO> selectCommentByPage(Page page, Long postId, Long userId, String order);
}
